Document GTK_ACCESSIBLE_ROLE_NONE
authorMatthias Clasen <mclasen@redhat.com>
Wed, 21 Oct 2020 18:21:12 +0000 (14:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 21 Oct 2020 18:21:12 +0000 (14:21 -0400)
We use it for a specific purpose now, so document it.

docs/reference/gtk/section-accessibility.md
gtk/gtkenums.h

index 3afb747026167189d7928cb5e80fc642bf0fab3c..b73211ee17062f1bfb608756792afdf1ecc08387 100644 (file)
@@ -57,6 +57,7 @@ Each role name is part of the #GtkAccessibleRole enumeration.
 | `LIST` | A list of items | #GtkListBox |
 | `LIST_ITEM` | An item in a list | #GtkListBoxRow |
 | `METER` | Represents a value within a known range | #GtkLevelBar |
+| `NONE` | Not represented in the accessibility tree | the slider of a #GtkScale |
 | `PROGRESS_BAR` | An element that display progress | #GtkProgressBar |
 | `RADIO` | A checkable input in a group of radio roles | #GtkCheckButton |
 | `ROW` | A row in a columned list | #GtkColumnView |
index 561a273b597c760f753074fea75fd400d3354c53..36e90b71bb9a76534f96bcefbd7948f1a519599b 100644 (file)
@@ -1199,7 +1199,7 @@ typedef enum {
  * @GTK_ACCESSIBLE_ROLE_MENU_ITEM_CHECKBOX: Unused
  * @GTK_ACCESSIBLE_ROLE_MENU_ITEM_RADIO: Unused
  * @GTK_ACCESSIBLE_ROLE_NAVIGATION: Unused
- * @GTK_ACCESSIBLE_ROLE_NONE: Unused
+ * @GTK_ACCESSIBLE_ROLE_NONE: An element that is not represented to accessibility technologies.
  * @GTK_ACCESSIBLE_ROLE_NOTE: Unused
  * @GTK_ACCESSIBLE_ROLE_OPTION: Unused
  * @GTK_ACCESSIBLE_ROLE_PRESENTATION: Unused